Availability | 3.0 |
Description | Selects the action at the specified position in the Behavior inspector. |
Arguments | positionIndex |
The argument is the position of the action in the Behavior inspector. The first action in the list is at position 0. To deselect all actions, specify a positionIndex of -1. Specifying a position for which no action exists is equivalent to specifying -1. |
|
Returns | Nothing. |
Enabler | None. |
Example | Assuming the Behavior inspector setup shown in this example, calling dw.behaviorInspector.setSelection(3) would select the Change Property action associated with the onMouseOut event.
![]() |
![]() |